Object

StandardInputStream Class

Used for reading text input in a ConsoleApplication.

Methods

Read

ReadLine

Notes


Since there is only one StandardInputStream for the system, you do not need to create a StandardInputStream object to use; you just use StdIn.

The StandardInputStream class implements the Readable class interface. If you implement this interface, you must provide the methods with the parameters specified by this interface.

StandardInputStream incorporates a conversion operator so that you can use StdIn as a TCPSocket. This is useful only for services that are started for you by xinetd on Mac OS X or Linux. Here is an example of how to use this:

Dim Incoming as TCPSocket = Stdin

See Also

ConsoleApplication, StandardOutputStream classes; Input, Print, StdErr, StdIn, StdOut methods; TargetHasGUI constant.